<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('log_horse/horsecastingsoul/flexigrid') ?>',
                    colModel: 
                    [
						{display: '<?= translate('LOG_HORSE_ID') ?>', name: 'id', width: '100'},
						{display: '<?= translate('LOG_HORSE_ROLEID') ?>', name: 'roleid', width: '100'},
						{display: '<?= translate('LOG_HORSE_ROLELV') ?>', name: 'rolelv', width: '100'},
						{display: '<?= translate('LOG_HORSE_VIPLV') ?>', name: 'viplv', width: '100'},
						{display: '<?= translate('LOG_HORSE_SERVERID') ?>', name: 'serverid', width: '100'},
						{display: '<?= translate('LOG_HORSE_HORSEID') ?>', name: 'horseid', width: '100'},
						{display: '<?= translate('LOG_HORSE_HORSEGMID') ?>', name: 'gmid', width: '150'},
						{display: '<?= translate('LOG_HORSE_CASTSOUL_MAINTYPE') ?>', name: 'maintype', width: '100'},
						{display: '<?= translate('LOG_HORSE_CASTSOUL_SUBTYPE') ?>', name: 'subtype', width: '100'},
						{display: '<?= translate('LOG_HORSE_CASTSOUL_COSTID') ?>', name: 'costid', width: '150'},
						{display: '<?= translate('LOG_HORSE_CASTSOUL_COSTNUM') ?>', name: 'costnum', width: '100'},
						{display: '<?= translate('LOG_HORSE_ROLENAME') ?>', name: 'rolename', width: '100'},
						{display: '<?= translate('LOG_HORSE_OPERATIONTIME') ?>', name: 'operation_time', width: '150'},
                    ],
		    		buttons: [{name: 'export', displayname: "<?= translate('EXPORT') ?>", bclass: 'export', onpress: multi},,{separator: true}],
                }));                
            });
        </script>
    </body>
</html>